< previous page page_497 next page >

Page 497
Day 14
9f8044bafea36a1f728739c0bb58ef4c.gif
1. What are the biggest benefits of this subsystem?
9f8044bafea36a1f728739c0bb58ef4c.gif
The biggest benefit of this subsystem lies in two areas: (a) Security and (b) Troubleshooting and Customer Support.
9f8044bafea36a1f728739c0bb58ef4c.gif
2. What kinds of database operations are candidates for logging?
9f8044bafea36a1f728739c0bb58ef4c.gif
Every add, update, delete, and read operation aimed at the database can be logged properly in a hidden file or straight to a database. Every login attempt can also be recorded.
9f8044bafea36a1f728739c0bb58ef4c.gif
3. In what ways can you store application or user settings?
9f8044bafea36a1f728739c0bb58ef4c.gif
Your application might require that some user preferences be recorded and remembered the next time the user uses the application. For such requirements, the controller class CApplication will be tasked with enforcing these preferences in conjunction with the Graphical User Interface subsystem. You can record these preferences to a database, regular file, an INI (initialization) file, or the Registry.
9f8044bafea36a1f728739c0bb58ef4c.gif
4. What kinds of information are potentially useful to record with every log item?
9f8044bafea36a1f728739c0bb58ef4c.gif
You might want to record the user's ID, start time of transaction, end time of transaction, and possibly the identifier for the transaction or task the user performed. A sequence of these transactions leaves a nice audit trail for any authorized individual.
9f8044bafea36a1f728739c0bb58ef4c.gif
5. What is a potential downfall of logging too much information?
9f8044bafea36a1f728739c0bb58ef4c.gif
Your application might encounter performance degradation if it is a very data-intensive system.
Day 15
9f8044bafea36a1f728739c0bb58ef4c.gif
1. What's a business rule?
9f8044bafea36a1f728739c0bb58ef4c.gif
The policy implemented and enforced in the application that provides measurable value to the user(s) of the application.
9f8044bafea36a1f728739c0bb58ef4c.gif
2. Are domain rules only for business applications?
9f8044bafea36a1f728739c0bb58ef4c.gif
No. Nonprofit and scientific organizations also use applications for their respective domains, so the expression domain rule is more universal, but not as popular as the expression business rule.
9f8044bafea36a1f728739c0bb58ef4c.gif
3. What's the purpose of the Business Rules Subsystem?
9f8044bafea36a1f728739c0bb58ef4c.gif
The Business Rules Subsystem enforces the policy of the user with respect to the user's organizational goals. The business classes and components that make up this subsystem have the main goal of providing one or more solutions to one or more organizational problems.

 
< previous page page_497 next page >

If you like this book, buy it!